/*
 * @Autor: 田甜
 * @Date: 2020-06-12 08:44:37
 */
import request from '@/plugins/request';
// 设置-权限-角色======> 获取角色列表
export function GetRole(data) {
    return request({
        url: 'v1/rbac/role/list',
        method: 'get',
        params: data
    });
}

// 设置-系统-角色======> 获取内置角色列表
export function GetSystemRole(data) {
    return request({
        url: 'v1/rbac/role/system-list',
        method: 'get',
        params: data
    });
}
// 到诊详细报表
export function arriveReport(data) {
    return request({
        url: 'v1/statistics/patient-arrive-report/arrive-report',
        method: 'get',
        params: data
    });
}
// 到诊详细报表——【导出】
export function arriveReportExport(data) {
    return request({
        url: 'v1/statistics/patient-arrive-report/export-arrive-report',
        method: 'get',
        responseType: 'blob',
        params: data
    });
}
// 设置-权限-角色======> 获取选择checkBox列表
export function GetRolePermission(data) {
    return request({
        url: 'v1/rbac/role/select-info',
        method: 'get',
        params: data
    });
}

// 设置-权限-角色======> 新增校色
export function CreateRole(data) {
    return request({
        url: 'v1/rbac/role/create',
        method: 'post',
        data
    });
}

// 设置-权限-角色======> 更新校色
export function UpdateRole(data) {
    return request({
        url: 'v1/rbac/role/update',
        method: 'post',
        data
    });
}

// 设置-权限-角色======> 获取选择checkBox列表
export function permissionSelectInfo(data) {
    return request({
        url: 'v1/rbac/data-permission/select-info',
        method: 'get',
        params: data
    });
}

// 设置-权限-菜单======> 获取菜单列表
export function GetMenus(data) {
    return request({
        url: 'v1/rbac/menu/list',
        method: 'get',
        params: data
    });
}

// 获取父级菜单列表
export function GetParentMenus(data) {
    return request({
        url: '/v1/rbac/menu/info',
        method: 'get',
        params: data
    });
}

// 创建菜单
export function CreateMenu(data) {
    return request({
        url: '/v1/rbac/menu/create',
        method: 'post',
        data
    });
}

// 编辑菜单
export function UpdateMenu(data) {
    return request({
        url: '/v1/rbac/menu/update',
        method: 'post',
        data
    });
}

// 修改菜单状态
export function ChangeTypeMenu(data) {
    return request({
        url: '/v1/rbac/menu/update-status',
        method: 'post',
        data
    });
}

// 回访列表
export function visitList(data) {
    return request({
        url: '/v1/patient/callback/patient-list',
        method: 'get',
        params: data
    });
}
// 回访列表隐藏按钮
export function viewHidden(data) {
    return request({
        url: '/v1/data/view/delete',
        method: 'post',
        data
    });
}
// 动作权限
/** module 动作行为相关接口 */

// 获取动作行为列表
export function GetAction(data) {
    return request({
        url: 'v1/rbac/action/list',
        method: 'get',
        params: data
    });
}

// 新增动作行为
export function CreateAction(data) {
    return request({
        url: 'v1/rbac/action/create',
        method: 'post',
        data
    });
}

// 编辑动作行为
export function UpdateAction(data) {
    return request({
        url: '/v1/rbac/action/update',
        method: 'post',
        data
    });
}

// 删除动作行为
export function DeleteAction(data) {
    return request({
        url: '/v1/rbac/action/delete',
        method: 'post',
        data
    });
}

// 动作详情
export function DetailAction(data) {
    return request({
        url: 'v1/rbac/action/info',
        method: 'get',
        params: data
    });
}

// 通用选项列表
export function getCommonStatus(data) {
    return request({
        url: 'v1/base/common-status/index',
        method: 'get',
        params: data
    });
}

// 删除通用选项列表
export function delateCommonTag(data) {
    return request({
        url: '/v1/base/common-status/check-common-status',
        method: 'get',
        params: data
    });
}

// 编辑通用选项
export function editCommonTag(data) {
    return request({
        url: '/v1/base/common-status/update-common-status-type',
        method: 'post',
        data
    });
}

// 新增部门
export function addDepartment(data) {
    return request({
        url: '/v1/rbac/department/create',
        method: 'post',
        data
    });
}

// 删除部门
export function deleteDepartment(data) {
    return request({
        url: '/v1/rbac/department/delete',
        method: 'post',
        data
    });
}
// 更新部门配置
export function departmentUpdateConfig(data) {
    return request({
        url: 'v1/rbac/department/update-config',
        method: 'post',
        data
    });
}
// 编辑部门
export function editDepartment(data) {
    return request({
        url: '/v1/rbac/department/update',
        method: 'post',
        data
    });
}
// 获取部门新增或编辑下拉信息
export function getDepartmentInfo(data) {
    return request({
        url: '/v1/rbac/department/select-info',
        method: 'get',
        params: data
    });
}
// 获取部门列表
export function getDepartmentList(data) {
    return request({
        url: '/v1/rbac/department/tree-list',
        method: 'get',
        params: data
    });
}
// 获取部门管理列表
export function getDeptManageList(data) {
    return request({
        url: '/v1/rbac/department/list',
        method: 'get',
        params: data
    });
}
// 部门新增or编辑详情
export function getDeptEditInfo(data) {
    return request({
        url: 'v1/rbac/department/edit-info',
        method: 'get',
        params: data
    });
}
// 部门配置编辑详情
export function getDeptConfigInfo(data) {
    return request({
        url: 'v1/rbac/department/edit-config-info',
        method: 'get',
        params: data
    });
}
// 人员列表
export function getMemberList(data) {
    return request({
        url: '/v1/rbac/member/list',
        method: 'get',
        params: data
    });
}

// 人员下拉数据
export function getMemberInfo(data) {
    return request({
        url: '/v1/rbac/member/select-info',
        method: 'get',
        params: data
    });
}

// 新增人员
export function addMember(data) {
    return request({
        url: '/v1/rbac/member/create',
        method: 'post',
        data
    });
}
// 人员职能分配
export function fpMember(data) {
    return request({
        url: '/v1/rbac/member/allocation',
        method: 'post',
        data
    });
}
// 编辑人员
export function editMember(data) {
    return request({
        url: '/v1/rbac/member/update',
        method: 'post',
        data
    });
}
// 员工

// 获取员工列表
export function getPersonalList(data) {
    return request({
        url: '/v1/rbac/personnel/list',
        method: 'get',
        params: data
    });
}

// 获取员工下拉其他地方用不可删
export function getPersonalInfo(data) {
    return request({
        url: '/v1/rbac/personnel/select-info',
        method: 'get',
        params: data
    });
}

// 新增员工
export function addPersonal(data) {
    return request({
        url: '/v1/rbac/personnel/create',
        method: 'post',
        data
    });
}

// 编辑员工
export function editPersonal(data) {
    return request({
        url: '/v1/rbac/personnel/update',
        method: 'post',
        data
    });
}
// 编辑员工
export function getPersonalDetail(data) {
    return request({
        url: '/v1/rbac/member/info',
        method: 'get',
        params: data
    });
}
// 同步员工
export function syncPersonal(data) {
    return request({
        url: '/v1/rbac/personnel/sync',
        method: 'post',
        data
    });
}
// 设置员工离职
export function setQuit(data) {
    return request({
        url: '/v1/rbac/member/quit',
        method: 'post',
        data
    });
}

// 设置员工离职
export function setReinstate(data) {
    return request({
        url: '/v1/rbac/member/reinstate',
        method: 'post',
        data
    });
}
// 设置员工营销中心/项目接口
export function selectInfo(data) {
    return request({
        url: 'v1/rbac/personnel/select-info',
        method: 'get',
        params: data
    });
}
// 设置部门管理员
export function setManager(data) {
    return request({
        url: '/v1/rbac/member/department-manager',
        method: 'post',
        data
    });
}
// 取消部门管理员
export function cancelManager(data) {
    return request({
        url: '/v1/rbac/member/cancel-leader',
        method: 'post',
        data
    });
}
// 重置 密码
export function resetPassword(data) {
    return request({
        url: '/v1/rbac/member/reset-password',
        method: 'post',
        data
    });
}

// 数据共享
// 获取数据权限列表
export function dataPermissionList(data) {
    return request({
        url: '/v1/rbac/data-permission/list',
        method: 'get',
        params: data
    });
}

// 新增数据权限
export function addDataPermission(data) {
    return request({
        url: '/v1/rbac/data-permission/create',
        method: 'post',
        data
    });
}
// 编辑数据权限
export function editDataPermission(data) {
    return request({
        url: '/v1/rbac/data-permission/update',
        method: 'post',
        data
    });
}
// 删除数据权限
export function deleteDataPermission(data) {
    return request({
        url: '/v1/rbac/data-permission/delete',
        method: 'post',
        data
    });
}

// 获取下拉信息
export function getDataPermissionInfo(data) {
    return request({
        url: '/v1/rbac/data-permission/select-info',
        method: 'get',
        params: data
    });
}
// 权限==》职能
// 获取项目职能列表
export function getCompetencyProjectList(data) {
    return request({
        url: '/v1/rbac/competency/project-list',
        method: 'get',
        params: data
    });
}
// 新增项目职能
export function addCompetency(data) {
    return request({
        url: '/v1/rbac/competency/project-create',
        method: 'post',
        data
    });
}
// 编辑项目职能
export function editCompetency(data) {
    return request({
        url: '/v1/rbac/competency/project-update',
        method: 'post',
        data
    });
}
// 删除项目职能
export function deleteCompetency(data) {
    return request({
        url: '/v1/rbac/competency/project-delete',
        method: 'post',
        data
    });
}

// 获取下拉信息
export function getCompetencyInfo(data) {
    return request({
        url: '/v1/rbac/competency/select-info',
        method: 'post',
        data
    });
}

// 编辑项目职能权限
export function editPermissions(data) {
    return request({
        url: '/v1/rbac/competency/project-permission',
        method: 'post',
        data
    });
}

// 获取机构职能列表
export function getAgencyList(data) {
    return request({
        url: '/v1/rbac/competency/agency-list',
        method: 'get',
        params: data
    });
}
// 新增机构职能
export function addAgencyList(data) {
    return request({
        url: '/v1/rbac/competency/agency-create',
        method: 'post',
        data
    });
}

// 编辑机构职能
export function editAgencyList(data) {
    return request({
        url: '/v1/rbac/competency/agency-update',
        method: 'post',
        data
    });
}

// 删除机构职能
export function deleteAgencyList(data) {
    return request({
        url: '/v1/rbac/competency/agency-delete',
        method: 'post',
        data
    });
}
// 编辑机构职能权限
export function editAgencyPer(data) {
    return request({
        url: '/v1/rbac/competency/agency-permission',
        method: 'post',
        data
    });
}
// 获取项目角色列表
export function getRoleList(data) {
    return request({
        url: '/v1/rbac/role/project-list',
        method: 'get',
        params: data
    });
}
// 获取机构角色列表
export function getRoleLists(data) {
    return request({
        url: '/v1/rbac/role/agency-list',
        method: 'get',
        params: data
    });
}
// 新增项目角色
export function addRoleList(data) {
    return request({
        url: '/v1/rbac/role/project-create',
        method: 'post',
        data
    });
}
// 新增机构角色
export function addRoleLists(data) {
    return request({
        url: '/v1/rbac/role/agency-create',
        method: 'post',
        data
    });
}
// 更新项目角色
export function editRoleList(data) {
    return request({
        url: '/v1/rbac/role/project-update',
        method: 'post',
        data
    });
}
// 更新机构角色
export function editRoleLists(data) {
    return request({
        url: '/v1/rbac/role/agency-update',
        method: 'post',
        data
    });
}
// 删除项目角色
export function deleteRoleList(data) {
    return request({
        url: '/v1/rbac/role/project-delete',
        method: 'post',
        data
    });
}
// 删除机构角色
export function deleteRoleLists(data) {
    return request({
        url: '/v1/rbac/role/agency-delete',
        method: 'post',
        data
    });
}
// 获取角色下拉信息
export function getRoleInfo(data) {
    return request({
        url: '/v1/rbac/role/info',
        method: 'get',
        params: data
    });
}

// 项目角色设置权限
export function rolePreSet(data) {
    return request({
        url: '/v1/rbac/role/project-permission',
        method: 'post',
        data
    });
}
// 机构角色设置权限
export function rolePreSets(data) {
    return request({
        url: '/v1/rbac/role/agency-permission',
        method: 'post',
        data
    });
}
// 客服手机
// 短信列表
export function getSmsList(data) {
    return request({
        url: '/v1/customer/sms/sms-list',
        method: 'get',
        params: data
    });
}
// 短信删除
export function deleteSms(data) {
    return request({
        url: '/v1/customer/sms/sms-del',
        method: 'post',
        data
    });
}
// 通话录音列表
export function getVoice(data) {
    return request({
        url: '/v1/customer/sms/voice-list',
        method: 'get',
        params: data
    });
}
// 获取模块列表
export function GetModuleList(data) {
    return request({
        url: '/v1/rbac/module/list',
        method: 'get',
        params: data
    });
}
// 模块新增
export function CreateModuleMenu(data) {
    return request({
        url: '/v1/rbac/module/create',
        method: 'post',
        data
    });
}
// 模块更新
export function updateModuleMenu(data) {
    return request({
        url: '/v1/rbac/module/update',
        method: 'post',
        data
    });
}

// 自动化-到诊推送列表
export function alreadyPush(data) {
    return request({
        url: '/v1/automation/push/index',
        method: 'get',
        params: data
    });
}

// 未匹配上列表
export function noPush(data) {
    return request({
        url: '/v1/automation/relation/index',
        method: 'get',
        params: data
    });
}

// 自动化-到诊推送新增
export function addAlreadyPush(data) {
    return request({
        url: '/v1/automation/push/create-push',
        method: 'post',
        data
    });
}
// 自动化-到诊推送编辑
export function editAlreadyPush(data) {
    return request({
        url: '/v1/automation/push/update-push',
        method: 'post',
        data
    });
}
// 部门下人员
export function getDepartmentRole(data) {
    return request({
        url: '/v1/automation/push/get-department-list',
        method: 'get',
        params: data
    });
}
// 自动化标签
// 新增或者编辑标签
export function AddAutoTag(data) {
    return request({
        url: '/v1/automation/tag/add-tag-auto',
        method: 'post',
        data
    });
}
// 自动化标签列表
export function autoTagList(data) {
    return request({
        url: '/v1/automation/tag/list',
        method: 'get',
        params: data
    });
}
// 删除标签
export function deleteAutoTag(data) {
    return request({
        url: '/v1/automation/tag/del-tag-auto',
        method: 'post',
        data
    });
}
// 编辑标签
export function editAutoTag(data) {
    return request({
        url: '/v1/automation/tag/update-tag-auto',
        method: 'post',
        data
    });
}
// 用户画像-筛选项
export function patientReportInfo(data) {
    return request({
        url: '/v1/statistics/patient-report/common-list',
        method: 'get',
        params: data
    });
}
// 用户画像-列表
export function patientReportList(data) {
    return request({
        url: '/v1/statistics/patient-report/patient-report',
        method: 'get',
        params: data
    });
}
// 部门列表
export function getReportDepartment(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/params-list',
        method: 'get',
        params: data
    });
}
// 月到诊占比
export function getMonthRate(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/month-report',
        method: 'get',
        params: data
    });
}
// 地区报表
export function getAreaRate(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/city-report',
        method: 'get',
        params: data
    });
}
// 人员报表
export function getMemberRate(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/member-report',
        method: 'get',
        params: data
    });
}
// 渠道报表
export function getChannelRate(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/channel-report',
        method: 'get',
        params: data
    });
}
// 病种报表
export function getDiseasesRate(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/diseases-report',
        method: 'get',
        params: data
    });
}
// 标签报表
export function getTagRate(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/tags-report',
        method: 'get',
        params: data
    });
}
// 复制角色权限
export function copyRole(data) {
    return request({
        url: '/v1/rbac/role/role-copy',
        method: 'post',
        data
    });
}
// 到诊推送删除
export function automationPush(data) {
    return request({
        url: '/v1/automation/push/delete-push',
        method: 'post',
        data
    });
}

// 机器人报表列表
export function getRobotList(data) {
    return request({
        url: '/v1/statistics/robot-report/robot-list',
        method: 'get',
        params: data
    });
}
// 机器人报表列表1
export function getRobotList1(data) {
    return request({
        url: '/v1/statistics/robot-report/report',
        method: 'get',
        params: data
    });
}
// 机器人报表详情2
export function getRobotList2(data) {
    return request({
        url: '/v1/statistics/robot-report/report-top',
        method: 'get',
        params: data
    });
}
// 朋友圈列表
export function getCircleList(data) {
    return request({
        url: '/v1/statistics/robot-report/circle-list',
        method: 'get',
        params: data
    });
}
// 渠道人员下拉列表
export function getMemberSelect(data) {
    return request({
        url: 'v1/statistics/patient-arrive-report/member-list',
        method: 'get',
        params: data
    });
}
// 微信聊天内容搜索
export function getWeChartList(data) {
    return request({
        url: '/v1/analyse/message/content-list',
        method: 'get',
        params: data
    });
}

// 微信聊天内容发送量/回复量
export function getWeChartCount(data) {
    return request({
        url: '/v1/analyse/message/content-count',
        method: 'get',
        params: data
    });
}

// 精准搜索,客户回复分页
export function getWeChartReply(data) {
    return request({
        url: '/v1/analyse/message/content-reply-list',
        method: 'get',
        params: data
    });
}
// 客服发送消息时间段
export function getWeChartSendTime(data) {
    return request({
        url: '/v1/analyse/message/wechat-period',
        method: 'get',
        params: data
    });
}

// 患者回复时间段
export function getWeChartReplyTime(data) {
    return request({
        url: '/v1/analyse/message/friend-period',
        method: 'get',
        params: data
    });
}

// 下拉搜索框
export function getWeChartSelect(data) {
    return request({
        url: '/v1/analyse/message/period-select',
        method: 'get',
        params: data
    });
}
// 视图列表
export function getViewList(data) {
    return request({
        url: '/v1/data/view/list',
        method: 'get',
        params: data
    });
}
// 视图患者列表
export function getViewData(data) {
    return request({
        url: '/v1/data/view/patient-list',
        method: 'get',
        params: data
    });
}

// 患者转移视图
export function changeView(data) {
    return request({
        url: '/v1/data/view/move',
        method: 'post',
        data
    });
}

// 患者移除视图
export function deleteViewData(data) {
    return request({
        url: '/v1/data/view/delete',
        method: 'post',
        data
    });
}

// 视图详情total
export function changeOneViewTotal(data) {
    return request({
        url: '/v1/data/view/info',
        method: 'get',
        params: data
    });
}
// 项目任务推进表——列表
export function getCustomerReport(data) {
    return request({
        url: '/v1/customer/report',
        method: 'get',
        params: data
    });
}

// 项目任务推进表——设置人员任务
export function setTask(data) {
    return request({
        url: '/v1/customer/report/set-advacement',
        method: 'post',
        data
    });
}

// 项目任务推进表——导出
export function exportAdvanceReport(data) {
    return request({
        url: '/v1/customer/report/export-advacement-report',
        method: 'get',
        params: data,
        responseType: 'blob'
    });
}
// 网络部到诊对话分析——列表
export function getNetWorkAnalList(data) {
    return request({
        url: '/v1/customer/visit/index',
        method: 'get',
        params: data
    });
}
// 网络部到诊对话分析——设置网络部到诊对话分析
export function setVisitReport(data) {
    return request({
        url: '/v1/customer/visit/set-visit-report',
        method: 'post',
        data
    });
}

// 网络部到诊对话分析——导出
export function exportCustomerReport(data) {
    return request({
        url: '/v1/customer/visit/export-visit-report',
        method: 'get',
        params: data,
        responseType: 'blob'
    });
}
// 统计患者绑定微信数量
export function wxIdNumDetail(data) {
    return request({
        url: '/v1/data/view/patient-wechat-total',
        method: 'get',
        params: data
    });
}
// 根据标签名先查询标签信息
export function tagNameDetail(data) {
    return request({
        url: '/v1/data/view/wechat-tag-info',
        method: 'get',
        params: data
    });
}

// 项目渠道转化情况反馈表——列表
export function getChannelList(data) {
    return request({
        url: '/v1/customer/report/channel-transformation',
        method: 'get',
        params: data
    });
}

// 项目渠道转化情况反馈表——设置数据
export function setChannelReport(data) {
    return request({
        url: '/v1/customer/report/set-channel-transformation',
        method: 'post',
        data
    });
}

// 项目渠道转化情况反馈表——导出
export function exportChannelReport(data) {
    return request({
        url: '/v1/customer/report/export-channel-transformation',
        method: 'get',
        params: data,
        responseType: 'blob'
    });
}

// 项目工作量反馈表——列表
export function getFeedbackList(data) {
    return request({
        url: '/v1/customer/report/feedback-report',
        method: 'get',
        params: data
    });
}

// 项目工作量反馈表——设置数据
export function setFeedbackReport(data) {
    return request({
        url: '/v1/customer/report/set-feedback',
        method: 'post',
        data
    });
}
// 项目工作量反馈表——导出
export function exportFeedbackReport(data) {
    return request({
        url: '/v1/customer/report/export-feedback',
        method: 'get',
        params: data,
        responseType: 'blob'
    });
}

// 项目转化情况反馈表——列表
export function getTransformationList(data) {
    return request({
        url: '/v1/customer/report/project-transformation',
        method: 'get',
        params: data
    });
}

// 项目转化情况反馈表——设置数据
export function setTransformationReport(data) {
    return request({
        url: '/v1/customer/report/set-project-transformation',
        method: 'post',
        data
    });
}
// 项目转化情况反馈表——导出
export function exportTransformationReport(data) {
    return request({
        url: '/v1/customer/report/export-project-transformation',
        method: 'get',
        params: data,
        responseType: 'blob'
    });
}
// 工作汇总列表
export function getWorkSummaryList(data) {
    return request({
        url: '/v1/customer/report/work-summary-list',
        method: 'get',
        params: data
    });
}
// 工作汇总——设置数据
export function setAllWork(data) {
    return request({
        url: '/v1/customer/report/set-work-summary',
        method: 'post',
        data
    });
}

// 工作汇总——导出
export function exportSummaryData(data) {
    return request({
        url: '/v1/customer/report/export-work-summary',
        method: 'get',
        params: data,
        responseType: 'blob'
    });
}
// 获取项目下拉
export function getPersonalInfoPro(data) {
    return request({
        url: '/v1/customer/report/project-list',
        method: 'get',
        params: data
    });
}
// 语录列表
export function calendarList(data) {
    return request({
        url: '/v1/work/calendar/quotes-list',
        method: 'get',
        params: data
    });
}
// 提示信息列表
export function calendarReminderList(data) {
    return request({
        url: '/v1/work/calendar/reminder-list',
        method: 'get',
        params: data
    });
}
// 运势列表
export function calendarFortuneList(data) {
    return request({
        url: '/v1/work/calendar/fortune-list',
        method: 'get',
        params: data
    });
}
// 语录删除
export function deleteCalendar(data) {
    return request({
        url: '/v1/work/calendar/quotes-del',
        method: 'post',
        data
    });
}
// 提示信息删除
export function deleteCalendarReminder(data) {
    return request({
        url: '/v1/work/calendar/reminder-del',
        method: 'post',
        data
    });
}
// 语录内容设置
export function SetCalendar(data) {
    return request({
        url: '/v1/work/calendar/quotes-set',
        method: 'post',
        data
    });
}
// 提示信息设置
export function SetCalendarReminder(data) {
    return request({
        url: '/v1/work/calendar/reminder-set',
        method: 'post',
        data
    });
}
// 运势设置
export function SetCalendarFortune(data) {
    return request({
        url: '/v1/work/calendar/fortune-set',
        method: 'post',
        data
    });
}
// 运势删除
export function DeleteCalendarFortune(data) {
    return request({
        url: '/v1/work/calendar/fortune-del',
        method: 'post',
        data
    });
}

// 机器人配置列表
export function robotWeList(data) {
    return request({
        url: '/v1/setting/echat/robot-list',
        method: 'get',
        params: data
    });
}

// E聊机器人配置信息
export function setEInfo(data) {
    return request({
        url: '/v1/setting/echat/robot-info',
        method: 'get',
        params: data
    });
}

// 新增配置
export function addRoborEchat(data) {
    return request({
        url: '/v1/setting/echat/create',
        method: 'post',
        data
    });
}

// 删除配置
export function deleteRoborEchat(data) {
    return request({
        url: '/v1/setting/echat/delete',
        method: 'post',
        data
    });
}
// 编辑配置
export function editRoborEchat(data) {
    return request({
        url: '/v1/setting/echat/update',
        method: 'post',
        data
    });
}

// 获取导入的excel列表
export function getYKLIst(data) {
    return request({
        url: '/v1/kq/index/get-list',
        method: 'get',
        params: data
    });
}

// 删除导入的报表
export function deleteYKLIst(data) {
    return request({
        url: '/v1/kq/index/report-del',
        method: 'post',
        data
    });
}

// 口腔源数据列表——筛选条件
export function getSourceListInfo(data) {
    return request({
        url: '/v1/kq/report/condition',
        method: 'get',
        params: data
    });
}

// 口腔源数据——接诊列表
export function getSourceListTwo(data) {
    return request({
        url: '/v1/kq/report/treatment-report-list',
        method: 'get',
        params: data
    });
}

// 口腔源数据——消费列表
export function getSourceListOne(data) {
    return request({
        url: '/v1/kq/report/cost-report-list',
        method: 'get',
        params: data
    });
}

// 未匹配上新增、编辑
export function addPush(data) {
    return request({
        url: '/v1/automation/relation/update-relation',
        method: 'post',
        data
    });
}

// 未匹配上删除
export function deletePush(data) {
    return request({
        url: '/v1/automation/relation/delete-relation',
        method: 'post',
        data
    });
}

// 到诊关联表每行数据后增加【同步】按钮
export function statisticspatientarrivereportmatchdata(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/match-data',
        method: 'post',
        data
    });
}
// 到诊关联
export function consumeauthlist(data) {
    return request({
        url: 'v1/statistics/patient-arrive-report/consume-auth-list',
        method: 'get',
        params: data
    });
}
// 获取病种
export function statisticspatientarrivereportdiseaseslist(data) {
    return request({
        url: 'v1/statistics/patient-arrive-report/diseases-list',
        method: 'get',
        params: data
    });
}
// 白癜风数据提醒列表
export function automationpushbdflist(data) {
    return request({
        url: '/v1/automation/push/bdf-list',
        method: 'get',
        params: data
    });
}
// 白癜风数据提醒配置新增
export function automationpushcreatepush(data) {
    return request({
        url: '/v1/automation/push/create-push',
        method: 'post',
        data
    });
}
// 患者视图列表
export function messageimageList(data) {
    return request({
        url: '/v1/robot/index/message-image-list',
        method: 'get',
        params: data
    });
}
// 患者视图详情
export function messageimageInfo(data) {
    return request({
        url: '/v1/robot/index/message-image-info',
        method: 'get',
        params: data
    });
}
// 到诊关联表批量同步
export function arrivereportSync(data) {
    return request({
        url: '/v1/statistics/patient-arrive-report/arrive-report-sync',
        method: 'get',
        params: data
    });
}
// 钉钉推送线索提醒
// 线索新增钉钉提醒列表
export function clueIndex(data) {
    return request({
        url: '/v1/automation/clue/index',
        method: 'get',
        params: data
    });
}
// 新增编辑线索新增钉钉提醒
export function updateClue(data) {
    return request({
        url: '/v1/automation/clue/update-clue',
        method: 'post',
        data
    });
}
// 线索新增钉钉提醒字段下拉筛选
export function filedList(data) {
    return request({
        url: '/v1/automation/clue/filed-list',
        method: 'get',
        params: data
    });
}
// 删除线索新增钉钉提醒
export function deleteClue(data) {
    return request({
        url: '/v1/automation/clue/delete-clue',
        method: 'post',
        data
    });
}
// 从项目中删除
export function deleteProject(data) {
    return request({
        url: 'v1/rbac/member/delete-project',
        method: 'post',
        data
    });
}
// 人员页面中的离职获取释放项目人员

export function checkbindPatient(data) {
    return request({
        url: 'v1/rbac/member/check-bind-patient',
        method: 'get',
        params: data
    });
}
// 获取管理列表
export function manageGroupList(data) {
    return request({
        url: 'v1/rbac/manage-group/manage-group-list',
        method: 'get',
        params: data
    });
}
// 获取管理新增、编辑
export function manageGroupEdit(data) {
    return request({
        url: 'v1/rbac/manage-group/update-manage-group',
        method: 'post',
        data
    });
}
// 获取管理人员配置
export function manageGroupSet(data) {
    return request({
        url: 'v1/rbac/manage-group/update-member-relations-group',
        method: 'post',
        data
    });
}
// 获取管理删除
export function manageGroupDel(data) {
    return request({
        url: 'v1/rbac/manage-group/delete-manage-group',
        method: 'post',
        data
    });
}